package com.chatsystem.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 消息请求DTO
 * 
 * @author ChatSystem
 * @version 1.0.0
 */
@Data
public class MessageRequest {

    @NotBlank(message = "消息内容不能为空")
    private String content;

    @NotNull(message = "接收者ID不能为空")
    private Long receiverId;

    private String messageType = "TEXT";
} 